Name:
str_replace$() -- replace a string with another string
Synopsis:
STR_REPLACE$(Sourcetext$,SearchFor$,ReplaceWith$)
Description:
This function replaces a text with another text. First you insert the text in which you want to search, then the desired character string that is to be found and finally the text with which you replace the searched character string
Example:
text$="This is the Example text. The Text is stupid. The text is stupid.The Text is stupid. The text is stupid."
output$=STR_REPLACE$(text$,"Text","Foo")
print output$
Explanation:
This example replace the string Text with foo.
Related: mid$